package com.ds.infra.rpc.example.consumer;

import com.ds.infra.rpc.annotation.EnableRpc;
import com.ds.infra.rpc.core.config.RpcConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(RpcConfig.class)
@EnableRpc(scanBasePackages = "com.ds.example.consumer.client")
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
        System.out.println("===== 订单服务启动成功 =====");
    }

}
